soldiers=["A1111", "N6795", "D0025"]
a=input()
if a in soldiers:
    print( "免费入园")
else:
    print("请购票入园")




    